package com.zzedu.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzedu.domain.ZzCourse;
import com.zzedu.dto.ZzCourseDTO;
import com.zzedu.vo.StuLearnReportDataVO;
import com.zzedu.vo.ZzCourseVO;

import java.util.List;

/**
 * 课程包管理Service接口
 *
 * @author Mr.Wang
 * @date 2025-02-04
 */
public interface IZzCourseService extends IService<ZzCourse> {
    /**
     * 构造查询条件
     */
    public LambdaQueryWrapper<ZzCourse> buildQuery(ZzCourseDTO zzCourseDTO);

    /**
     * 获取当前unit下所有绘本的单词、句子
     *
     * @param id
     * @return key->单词集合 value-> 句子集合
     */
    public void getWordsAndSentences(StuLearnReportDataVO stuLearnReportDataVO,Long id);


    List<ZzCourseVO> convertVO(List<ZzCourse> zzCourseList);


    /**
     * 新版 unitList
     *
     * @param stuId
     * @param schoolId
     * @param level
     * @return
     */
    public List<ZzCourse> getStuCourseListNews(Long stuId, Long schoolId, String level,List<Integer> stateList);
}
